package com.design.pattern.designPrinciples.simpleSegregation.simple;

/**
 * create by yufeng on 2021/7/3 11:38
 */
public class SimpleTest {
    public static void main(String[] args) {
        Course course = new Course();
        course.study("直播课");
        course.study("录播课");

        LiveCourse liveCourse = new LiveCourse();
        liveCourse.study();

        RePlayCourse rePlayCourse = new RePlayCourse();
        rePlayCourse.study();

    }
}
